#ifndef ROBOTS_H_
#define ROBOTS_H_

#include<string>
#include<list>

class Robots {
public:
	Robots() {}
	Robots (std::string);
	bool isAllowed(std::string);
	
private:
	void parseRobotsString(std::string);
	void trim(std::string &);
	
	bool naoPossoNada;
	std::list<std::string> disallowedFolders;
	std::list<std::string> asteriskFolders;
};

#endif /*ROBOTS_H_*/
